﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/Plugin/layui/css/layui.css" rel="stylesheet" />
    <link href="/Style/common.css" rel="stylesheet" />
    <title></title>
    <style>
        body {
            text-align: center;
        }

        .layui-icon {
            font-size: 5000%;
            text-align: center;
            margin: 0px auto;
        }

        @media screen and (max-width: 750px) {
            .layui-icon {
                font-size: 2000%;
              
            }
        }

    </style>
</head>
<body>
    <i class="layui-icon layui-icon-404"></i>
    <script src="/Plugin/layui/layui.js"></script>
    <script>
        layui.use("layer", function () {
            layer.open({
                type: 1,
                shade: false,
                title: false, //不显示标题
                closeBtn :0,
                content: "    <span class='ss' style='margin-left:10px;'>5</span> 秒后转到主页！！",
                success: function (layero, index) {
                    layero.addClass("layui-layer-hui");
                    var span = layero.find("span.ss");
                    ss(span);
                }
            });       

            function ss(tt) {
                setTimeout(function () {
                    var aa = parseInt(tt.text());
                    aa = aa - 1;
                    tt.text(aa);
                    if (aa == 0) {
                        window.location.href = "/";
                        return false;
                    }
                    ss(tt);
                }, 1000);
            }

        });
    </script>
</body>
</html>